package com.media.yuvplayer.utils;

/**
 *
 * @author liuhui
 * @date 2018/12/17
 */
public class OpenCVUtils {
    // Used to load the 'native-lib' library on application startup.
    static {
        System.loadLibrary("opencv_jni");
    }

    public String I420ToRGB(byte[] src,int width,int height){
        return nativeI420ToRGB(src, width, height);
    }

    private static native String nativeI420ToRGB(byte[] src,int width,int height);
}
